﻿@model canthovieclam.Models.EmployerModels
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<style type="text/css">
   
	
	body {
		font: 0.8em arial, helvetica, sans-serif;
	}
	
    #header ul {
		list-style: none;
		padding: 0;
		margin: 0;
    }
    
	#header li {
		float: left;
		border: 1px solid #bbb;
		border-bottom-width: 0;
		margin: 0;
    }
    
	#header a {
		text-decoration: none;
		display: block;
		background: #eee;
		padding: 0.24em 1em;
		color: #00c;
		width: 8em;
		text-align: center;
    }
	
	#header a:hover {
		background: #ddf;
	}
	
	#header #selected {
		border-color: black;
	}
	
	#header #selected a {
		position: relative;
		top: 1px;
		background: white;
		color: black;
		font-weight: bold;
	}
	
	#content {
		border: 1px solid black;
		clear: both;
		padding: 0 1em;
	}
	
	h1 {
		margin: 0;
		padding: 0 0 1em 0;
	}
	
</style>

<div id="header">
    <h1>Company</h1>
    <ul>
        @foreach(var state in Model.EmployerStatusList)
        {
	        <li><a href="@Url.Action("Index", "AdminEmployer", new { Id = state })">@state.ToString()</a></li>
        }	    
    </ul>
</div>
<div id="content">   
    @foreach(var employer in Model.EmployerList)
    {
        <h1>@employer.EmployerName</h1>
        <h1>@employer.State</h1>
    }    
</div>